home *** CD-ROM | disk | FTP | other *** search
- Short: Emulate program starting from WB (V2.0)
- Author: stefanb@yello.ping.de (Stefan Becker)
- Uploader: stefanb@yello.ping.de (Stefan Becker)
- Version: 2.0
- Type: util/libs
- Replaces: util/cli/WBStart1_4.lha
- Requires: OS 3.0 (V39) or better
- Kurz: Emuliere Programmstart von der WB (V2.0)
-
- WBStart is a package to emulate the Workbenchs' method of starting
- programs. Emulating this method seems to be easy on the first look,
- because you only have to load a program, create a process and then send a
- Workbench startup message to it.
-
- But complications arise from this startup message. It contains pointers
- to memory and directory locks owned by your process and it will not be
- returned until the newly created Workbench process exits. So your process
- can't quit until ALL Workbench processes which have been started by your
- process are finished. If you don't wait the replied messages will go into
- nowhere land and the man from India will visit you.
-
- WBStart solves this problem by using a handler process, which loads the
- program, creates the process, sends the message and then waits for the
- reply. You just supply all needed information like program name and
- arguments in a library call. The handler copies this information so your
- program can free its resources and exit.
-
- Changes since version 1.4:
-
- - The code has been rewritten from scratch.
- - The handler has been integrated into a shared library. This means
- that you don't have to start the handler by hand anymore. It will be
- started automagically when you try to start a WB program using a
- library call. This also means an end to all these "I can't start WB
- programs" error reports resulting from a missing e-Flag on the file
- L:WBStart-Handler :-)
-
- NOTE: The old interface is not supported anymore!
- You have to rewrite your applications.
-
- - Requires OS 3.0 (V39) or better.
- - Now uses memory pools to reduce memory fragmenting.
- - Improved WB starter code. It should be almost 100% compatible to the
- real Workbench now.
-
- NOTE: This may result in some incompatibilities to the old WBStart
- package, so you might have to change some of the input
- parameters, e.g. in ToolManager Exec objects.
-
- - Fixed the problem with variables and aliases.
- - Fixed the problem with project icons whose default tool had no icon.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 1685 510 69.7% 13-Mar-96 17:26:34 +DMakefile
- 293 201 31.3% 13-Mar-96 17:30:16 +wbstart.c
- 311 207 33.4% 13-Mar-96 17:26:34 +DMakefile
- 2704 1889 30.1% 13-Mar-96 17:31:22 +WBStarter
- 1094 548 49.9% 13-Mar-96 17:29:58 +WBStarter.c
- 391 235 39.8% 13-Mar-96 17:29:02 +wbstart_protos.h
- 1451 532 63.3% 13-Mar-96 17:28:50 +wbstart.h
- 356 199 44.1% 13-Mar-96 17:29:28 +wbstart_pragmas.h
- 131 99 24.4% 13-Mar-96 17:29:36 +wbstart.h
- 199 151 24.1% 13-Mar-96 17:30:38 +wbstart_lib.fd
- 2627 872 66.8% 13-Mar-96 17:26:34 +wbstart.doc
- 4056 2503 38.2% 13-Mar-96 17:30:12 +wbstart.library
- 824 394 52.1% 13-Mar-96 17:27:38 +DMakefile
- 4334 1498 65.4% 13-Mar-96 17:28:08 +handler.c
- 1847 648 64.9% 13-Mar-96 17:28:18 +memory.c
- 4822 1596 66.9% 13-Mar-96 17:28:30 +paths.c
- 12021 3499 70.8% 13-Mar-96 17:28:40 +start.c
- 8542 2569 69.9% 13-Mar-96 17:27:58 +wbstart.c
- 2448 839 65.7% 13-Mar-96 17:27:50 +wbstart.h
- 7402 3203 56.7% 13-Mar-96 17:32:02 +WBStart.txt
- -------- ------- ----- --------- --------
- 57538 22192 61.4% 14-Mar-96 00:08:16 20 files
-